package cn.nju.zyy.constructorinjection;

public class User {
	
	private String name;
	private int age;
	private String country;
	
	User (String name, int age, String country) {
		this.name = name;
		this.age = age;
		this.country = country;
	}

	@Override
	public String toString() {
		return name + " is " + age + " years old, living in " +
				country;
	}
}
